package com.rajaev.dtu.tractor.domain.vo;

import com.rajaev.dtu.tractor.domain.entity.RolePo;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Getter
@Setter
public class UserVo {


    private Integer id;

    private String userName;

    private String loginName;

    private String password;

    private String mobile;

    private Date createDatetime;

    private List<Integer> roleIds;

    private List<RolePo> roles;

    private List<Integer> customerIds;

    private List<CustomerVo> customerVos;

    /**
     * 显示系统名称
     */
    private String systemDisplayName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

}